EncounterMethodRate

@Serializable
data class EncounterMethodRate(val encounterMethod: Handle.Named<EncounterMethod>, val versionDetails: List<EncounterMethodRateVersionDetail>)(source)

The encounter rate for a specific encounter method in a location area. See: https://pokeapi.co/docs/v2#encountermethodrate

Parameters

encounterMethod

The method in which Pokémon may be encountered in an area.

versionDetails

The chance of the encounter to occur on a version of the game.

Constructors

Link copied to clipboard
constructor(encounterMethod: Handle.Named<EncounterMethod>, versionDetails: List<EncounterMethodRateVersionDetail>)

Properties